package com.deluxelx.soul.inn.service.counselor;

import com.baomidou.mybatisplus.extension.service.IService;
import com.deluxelx.soul.inn.bean.counselor.Appointment;
import com.deluxelx.soul.inn.bean.counselor.AppointmentBO;

import java.util.List;

/**
 * 预约信息服务接口类
 *
 * @author: zihao.liao
 * @date: 2024/5/28 17:59
 */
public interface AppointmentService extends IService<Appointment> {
    /**
     * 根据咨询师id获取未来一周的预约信息
     * @param counselorId 咨询师id
     * @return 未来一周预约信息
     */
    List<AppointmentBO> getAppointmentMes(String counselorId);

    /**
     * 保存实体
     * @param entity 实体类
     * @return 结果
     */
    Boolean saveEntity(Appointment entity);
}
